package com.learn.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "my.info")
@Getter
@Setter
public class MyProperties {
    private String name;
    private String age;
    private String sex;
}
